package com.tarry.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarry.entity.City;
import org.apache.ibatis.annotations.Select;

public interface CityMapper extends BaseMapper<City> {

    @Select("select id,pid,name,shortname,code,merger_name,level from t_area_code where id=#{cityCode}")
    City getByCode(Integer cityCode);
}
